<!DOCTYPE.php>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>新闻详情</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link href="" rel="stylesheet">
<link rel="shortcut icon" href="template/img/logo.ico.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="template/css/commont.css">
<link rel="stylesheet" type="text/css" href="template/css/news_details.css">
<link rel="stylesheet" type="text/css" href="template/css/public.css">
</head>
<body>
<!-- 头部开始 -->
<div class="header">
    <div class="main">
    	<div class="logo">
    		<a href="index.php">
    			<img src="template/img/logo.png" alt="">
    		</a>
    	</div>
    	<div class="nav">
	    	<ul>
	    		<?php foreach($nav as $v) { ; ?>
	    		<li><a href="<?php echo $v['url'];?>"><?php echo $v['title'];?></a></li>
	    		<?php } ?>
	    	</ul>
    	</div>
   	</div>
</div>
<!-- 头部结束 -->
<!-- banner开始 -->
<div class="banner">
	<a href="news_details.php" >
		<img src="template/img/news_banner1_02.png" alt="">
	</a>
</div>
<!-- banner结束 -->
<!-- 新闻中心开始 -->
<div class="content clearfix">
	<!-- 侧边栏开始 -->
	<div class="sidebar">
		<div>
			<h2>新闻中心</h2>
			<p>NEWS CENTER</p>
		</div>
		<ul>
			<li class="on">
				<a href="#" >公司新闻</a>
			</li>
			<li>
				<a href="#" >行业动态</a>
			</li>
			<li>
				<a href="#" >最新新闻</a>
			</li>
			<li>
				<a href="#" >热点快讯</a>
			</li>
		</ul>
	</div>
	<!-- 侧边栏结束 -->
	<div class="main">
		<!-- 当前位置开始 -->
		<div class="position">
			<ul>
				<li>当前位置:</li>
				<li>
					<a href="index.php" >首页 ></a>
				</li>
				<li>
					<a href="news.php" >新闻中心 ></a>
				</li>
				<li>
					<span>新闻详情</span>
				</li>
			</ul>
		</div>
		<!-- 当前位置结束 -->
		<!-- 信息部分开始 -->
		<div class="information">
			<ul>

				<li>
					<h4><?php echo $information[$_GET['key']]['title'];?></h4>
					<p><?php echo $information[$_GET['key']]['description'];?></p>
					<img src="<?php echo $information[$_GET['key']]['photo'];?>" alt="">
				</li>
				
			</ul>
			<div class="flip">
				<a class="prev" href="news_details.php?key=<?php $_GET['key']-1?>" >
					<h5><span>上一篇:</span><?php echo $newslist[$_GET['key']-1]['title'];?></h5>
				</a>
				<a class="next" href="news_details.php?key=<?php $_GET['key']+1?>" >
					<h5><span>下一篇:</span><?php echo $newslist[$_GET['key']+1]['title'];?></h5>
				</a>
			</div>
		</div>
		<!-- 信息部分结束 -->
	</div>
</div>
<!-- 新闻中心结束 -->
<!-- 尾部开始 -->
<div class="footer">
	<p>©版权所有：<?php echo COPYRIGHT; ?>   备案号：<?php echo 	RECORD_NUMBER; ?></p>
</div>
<!-- 尾部结束 -->
</body>
</html>